package com.roc.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name="t_profit_percent_module")
public class ProfitPercentModule implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4565122912306610946L;

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "profitPercentModuleSeq")
	@SequenceGenerator(name = "profitPercentModuleSeq", sequenceName = "t_profit_percent_module_seq")
	private Long id;

	@Column(name = "PROFIT_MODULE_ID")
	private Long  profitModuleId; // 分润模板id
	
	@Column(name = "LIMIT_AMT")
	private BigDecimal  limitAmt; // 区间最小金额
	
	@Column(name = "MAX_AMT")
	private BigDecimal  maxAmt; // 区间最大金额
	
	@Column(name = "PERCENT")
	private String  percent; // 分润比例
	
	@Column(name = "IS_END")
	private String  isEnd; // 区间 0、1、2
	
	@Column(name = "DT_CREATE")
	private Date  dtCreate; // 
	
	@Column(name = "DT_LASTMOD")
	private Date  dtLastmod; // 
	
	@Column(name = "OPERATORS")
	private String  operators; // 
	
	@Column(name = "PARAM1")
	private String  param1; // 待用参数1
	
	@Column(name = "PARAM2")
	private String  param2; // 待用参数2

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getProfitModuleId() {
		return profitModuleId;
	}

	public void setProfitModuleId(Long profitModuleId) {
		this.profitModuleId = profitModuleId;
	}

	public BigDecimal getLimitAmt() {
		return limitAmt;
	}

	public void setLimitAmt(BigDecimal limitAmt) {
		this.limitAmt = limitAmt;
	}

	public BigDecimal getMaxAmt() {
		return maxAmt;
	}

	public void setMaxAmt(BigDecimal maxAmt) {
		this.maxAmt = maxAmt;
	}

	public String getPercent() {
		return percent;
	}

	public void setPercent(String percent) {
		this.percent = percent;
	}

	public String getIsEnd() {
		return isEnd;
	}

	public void setIsEnd(String isEnd) {
		this.isEnd = isEnd;
	}

	public Date getDtCreate() {
		return dtCreate;
	}

	public void setDtCreate(Date dtCreate) {
		this.dtCreate = dtCreate;
	}

	public Date getDtLastmod() {
		return dtLastmod;
	}

	public void setDtLastmod(Date dtLastmod) {
		this.dtLastmod = dtLastmod;
	}

	public String getOperators() {
		return operators;
	}

	public void setOperators(String operators) {
		this.operators = operators;
	}

	public String getParam1() {
		return param1;
	}

	public void setParam1(String param1) {
		this.param1 = param1;
	}

	public String getParam2() {
		return param2;
	}

	public void setParam2(String param2) {
		this.param2 = param2;
	}
	
}
